package org.example.comment;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "reggie.jwt")
@Data
public class JwtProperties {

    /**
     * 管理端微信授权登录的Secret
     */
    private String adminSecretKey;

    private Long adminTtl;

    private String adminTokenPrefix;

    /**
     * 用户端微信授权登录的Secret
     */
    private String userSecretKey;

    private Long userTtl;

    private String userTokenPrefix;

}
